package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * Created by Administrator on 2018/7/23.
 */

public class MonthlyRentInfo extends BaseModel<MonthlyRentInfo> {
    /** 租车位车牌号*/
    public String car_no;
    /** 租车位停车场名字*/
    public String parking_name;
    /** 租车位价格*/
    public String monthly_rent_price;
    /** 包月订单ID*/
    public String parking_order_id;
    @Override
    public MonthlyRentInfo parse(JSONObject jsonObject) {
        if(jsonObject != null) {
            car_no = jsonObject.optString("car_no");
            parking_name = jsonObject.optString("parking_name");
            monthly_rent_price = jsonObject.optString("monthly_rent");
            parking_order_id = jsonObject.optString("parking_order_id");
            return this;
        }
        return null;
    }
}
